Skip to content

Improves the explanation for the application-name metadata #39584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion files/en-us/web/html/reference/elements/meta/name/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ The {{htmlelement("meta")}} element can be used to provide document metadata in

The HTML specification defines the following set of standard metadata names:

- `application-name`: the name of the application running in the web page.
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "Only use this if the page is a web application." is kind of in the note following this, so let's edit the note with this instead.

Suggested change
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
- `application-name`: the name of the application running in the web page.
To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
Suggested change
- `application-name`: the name of the application running in the web page. Only use this if the page is a web application. To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language.
- `application-name`: the name of the application running in the web page.

then edit note.


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To provide translations, use multiple `<meta>` tags with the `lang` attribute for each language:

```html
<!-- English name -->
<meta name="application-name" content="Weather Wizard" lang="en" />

<!-- Spanish translation -->
<meta name="application-name" content="Mago del Clima" lang="es" />
```

> [!NOTE]
>
Expand Down